package com.jr.mapper;

import com.jr.pojo.PetOwner;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PetOwnerMapper {

    PetOwner selectById(Integer ownerId);

    PetOwner selectByUserId(Integer userId);

    int insertPetOwner(PetOwner petOwner);

    int updatePetOwner(PetOwner petOwner);

    List<PetOwner> selectAll();

    int dropPetOwner(Integer ownerId);
}
